home *** CD-ROM | disk | FTP | other *** search
/ Mac Cube 4: Multimedia Applications / MacCube Volume 4: Multimedia Applications.iso / Graphics / Transparency 1.0 ƒ / Transparency notes < prev   
Text File  |  1994-11-07  |  5KB  |  72 lines

  1. Transparency
  2. a quick and dirty utility for creating transparent GIF images
  3.  
  4. written by Aaron Giles (giles@med.cornell.edu)
  5. version 1.0, 7 November 1994
  6.  
  7.  
  8. Overview
  9.  
  10. This is the first official release of Transparency, an extremely simple free utility for setting the transparency index in GIF images.  Transparent GIF images are most commonly used as inline images in WWW pages, though they may have other uses as well.
  11.  
  12. Transparency is shipped, like all my software, as a fat binary, running incredibly quickly on PowerPC machines.
  13.  
  14. If you find any bugs or have any comments, please email me at giles@med.cornell.edu.  Thank you.
  15.  
  16.  
  17. About GIFs
  18.  
  19. GIF, or Graphics Interchange Format, is a compressed graphics format developed by CompuServe in 1987.  The original specifications allowed for only simple images, but a new revision in 1989 created a host of new options for GIF images.  One of these options was the ability to choose one color in the GIF's color table which maps transparently when displayed.  This feature has turned out to be quite useful when used with WWW browsers which have non-white backgrounds (which is pretty much all of them anymore!)
  20.  
  21.  
  22. WWW Browsers with Transparent Support
  23.  
  24. Just because you created a nifty new transparent GIF image doesn’t mean that it will automatically get displayed properly in all WWW browsers.  Fortunately for us Macintosh users, support for transparent GIFs is already present in the latest versions of NCSA Mosaic for the Macintosh and MacWeb.  Here is a brief summary of a number of WWW browers, listing those which do and do not support transparent GIFs.
  25.  
  26. The following browsers support transparent GIFs:
  27. • NCSA Mosaic for the Macintosh 2.0a3, or later
  28. • NCSA Mosaic for X Windows 2.1, or later
  29. • MacWeb 1.00a2.1, or later
  30.  
  31. The following browsers do not support transparent GIFs:
  32. • NCSA Mosaic for Windows 2.0a6
  33.  
  34.  
  35. Design Limitations
  36.  
  37. Transparency contains no features allowing you to scroll around an image; it is not intended as a GIF viewer.  Because it is targeted as a quick solution to setting transparent colors for WWW images, it assumes that the images it is dealing with are monitor-sized or smaller. 
  38.  
  39.  
  40. Operation
  41.  
  42. Transparency’s general operation should be pretty straightforward: you can either drag a GIF image onto the Transparency icon, or you can manually open up the Transparency application, choose Open GIF... from the File menu, and select which file you wish to work on.  Transparency will then open up the image and display it onscreen for you in a window, against a gray background.
  43.  
  44. To change the transparent color index, click and hold anywhere inside the image window.  A small palette of the GIF’s color table will pop up, from which you can select a new transparent color or “NONE”, to disable all transparencies.  (Note that if the GIF already has a transparent color selected, that color will be replaced by an “X” in the color palette.)  Once you release the mouse button, the image is redrawn against the gray background, to let you see what the resulting transparent image will look like.
  45.  
  46. When you click in the image, Transparency determines the color you clicked on and positions the color table palette such that the mouse pointer is automatically positioned over that color.  This is a particularly useful shortcut for setting the color: simply click anywhere in the background color, release the mouse button without moving the mouse to a new color, and you have made that color the transparent one.  Sometimes, however, this will cause the color palette to be drawn partially offscreen; just move the image window to a more convenient location and try again to fix this problem.
  47.  
  48. After you have finished with the image, you can save the resulting GIF by choosing Save as GIF89... from the File menu and choosing an output filename.
  49.  
  50.  
  51. Change History
  52.  
  53. 1.0:
  54.     • Transparency now warns you if you try to close an image without first saving it
  55.  
  56. 1.0b4:
  57.     • fixed a bug which prevented the rightmost column of colors from displaying
  58.     • changed the current transparent color to an X in the palette
  59.     • changed the underlying GIF decoder to perform faster onscreen drawing
  60.  
  61. 1.0b3:
  62.     • fixed a bug which would leave the file open after saving, causing -48 errors
  63.     • the size of the colors palette is now dependent upon how many colors were defined in the GIF image
  64.  
  65. 1.0b2:
  66.     • changed transparency masking from regions to bitmaps; this gets rid of the complex region limitation
  67.     • now set the window title to be the name of the image file
  68.     • fixed a low-memory problem
  69.     • slightly better error reporting
  70.  
  71. 1.0b1:
  72.     • initial release